package app.system.entity;

public class Page {
    private int PageSize;
    private int PageNum;//当前页码
    private int totalPage;//总页数
    private int totalCount;//总条数

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }

    public int getPageSize() {
        return PageSize;
    }

    public void setPageSize(int pageSize) {
        PageSize = pageSize;
    }

    public int getPageNum() {
        return PageNum;
    }

    public void setPageNum(int pageNum) {
        PageNum = pageNum;
    }

    @Override
    public String toString() {
        return "Paging{" +
                "PageSize=" + PageSize +
                ", PageNum=" + PageNum +
                ", totalPage=" + totalPage +
                ", totalCount=" + totalCount +
                '}';
    }
}
